package com.zhe.zheblogmaster.mapper;

import com.zhe.zheblogmaster.entity.Config;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WHAOU
 */
@Repository
public interface ConfigMapper {

    /**
     * 查询所有配置
     *
     * @return 返回查询到的配置
     */
    List<Config> selectAllConfig();

    Config selectByPrimaryKey(String configName);

    int updateByPrimaryKeySelective(Config config);
}
